//
//  AIUIHelperManager.h
//  MiaMind
//
//  Created by Vill on 2023/11/23.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface AIUIHelperManager : NSObject

+ (instancetype)shared;

/// 当前控制器
+ (UIViewController *)currentViewController;

/// 获取当前导航
+ (UINavigationController *)currentNavC;

/// 获取当前控制器
+ (UIViewController *)currentVC;

+ (UIWindow *)keyWindow;

//计算label文字高度
+(float)getLabelHeight:(NSString *)text defaultWidth:(float)Width font:(UIFont *)font;

//计算label文字宽度
+(float)getLabelWidth:(NSString *)text defaultHeight:(float)Height font:(UIFont *)font;

// 计算文本size
+ (CGSize)getlabelSize:(NSString *)text width:(float)maxWidth font:(UIFont *)font;

// 展示loading
+ (void)exs_showloading;

// 隐藏loading
+ (void)exs_hideLoading;

// 获取获取我的金币数量
- (void)getMyBalance;

//获取聊天框顶部的话题
@property (nonatomic,strong) NSArray *topicChatTop;

//获取聊天框顶部的话题
- (void)loadTopicChatTop;

@end

NS_ASSUME_NONNULL_END
